package shop.services.common;

import shop.core.common.dao.QueryModel;

import java.io.Serializable;

public class Cart extends QueryModel implements Serializable {
    private String id;

    private String productID;

    private Integer accountID;

    private String specID;

    private Integer cartNum;

    private String createTime;

    private String specIDS;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public Integer getAccountID() {return accountID;}

    public void setAccountID(Integer accountID) {this.accountID = accountID;}

    public Integer getCartNum() {
        return cartNum;
    }

    public void setCartNum(Integer cartNum) {
        this.cartNum = cartNum;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getSpecIDS() {
        return specIDS;
    }

    public void setSpecIDS(String specIDS) {
        this.specIDS = specIDS;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getSpecID() {
        return specID;
    }

    public void setSpecID(String specID) {
        this.specID = specID;
    }

}